SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}Benidorm{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}' OR prCity = 'Benidorm' OR prZip = 'Benidorm' OR prStreet LIKE '{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}Benidorm{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}' OR prCountry = 'Benidorm') AND (prLocation LIKE '{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}Spain{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}Spain{a61d32a76934a24e1afe06035cc16fd4344b00b331708e2586f9cd50f32766d5}' OR prCountry = 'Spain')